<?php

/**
 * Description of MainAction
 *
 * @author Kelvin Pereira Alves <kelvinpalves@gmail.com>
 */
class MainAction extends Action {

    private $smarty;
    private $em;

    public function __construct($smarty, $em) {
        $this->smarty = $smarty;
        $this->smarty->assign("base", "/imoveis/branches/tag_02/");
        $this->em = $em;
    }

    public function home() {
        $this->smarty->display('index.tpl');
    }

}
